"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Logger {
    getTimestamp() {
        const now = new Date();
        const year = now.getFullYear();
        const month = String(now.getMonth() + 1).padStart(2, '0');
        const day = String(now.getDate()).padStart(2, '0');
        const hours = String(now.getHours()).padStart(2, '0');
        const minutes = String(now.getMinutes()).padStart(2, '0');
        const seconds = String(now.getSeconds()).padStart(2, '0');
        return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
    }
    log(...args) {
        const timestamp = this.getTimestamp();
        console.log(`[${timestamp}] [INFO]`, ...args);
    }
    warn(...args) {
        const timestamp = this.getTimestamp();
        console.warn(`[${timestamp}] [WARN]`, ...args);
    }
    error(...args) {
        const timestamp = this.getTimestamp();
        console.error(`[${timestamp}] [ERROR]`, ...args);
    }
}
exports.default = new Logger();
